package com.edt.ichannel.api.service.impl;

import com.edt.ichannel.api.dao.MContractorCommissionRuleDao;
import com.edt.ichannel.api.entiy.local.MContractorCommissionRule;
import com.edt.ichannel.api.service.MContractorCommissionRuleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;


/**
 * MContractorCommissionRule服务接口实现类
 * @author 
 * @date 2018-07-23
 */
@Service
public class MContractorCommissionRuleServiceImpl implements MContractorCommissionRuleService {

    @Resource
    private MContractorCommissionRuleDao mcontractorcommissionruleDao;


    @Override
    public MContractorCommissionRule getCommissionRule(String productId, String cityCode, int firstMoney, Date fristDate) {
        return mcontractorcommissionruleDao.getCommissionRule(productId,cityCode,firstMoney,fristDate);
    }
}